package osoa.client;

public enum DomainEnum {
//	ouser("ouser-centerDomain", "ouser-center", "0.1", 10000L, 5000L),
    // TODO daima

    ;
	private String domainName;
	private String serviceAppName;
	private  String clientAppName;
	private String serviceVersion;
	private Long timeout; //timeout 必须大于 readTimeout

	private Long readTimeout;
	
	

	DomainEnum(String domainName, String serviceAppName, String clientAppName,String serviceVersion, Long timeout, Long readTimeout) {
		this.domainName = domainName;
		this.serviceAppName = serviceAppName;
		this.serviceVersion = serviceVersion;
		this.timeout = timeout;
		this.readTimeout = readTimeout;
		this.clientAppName = clientAppName;
	}

	public String getClientAppName(){
		return clientAppName;
	}

	public String getDomainName() {
		return domainName;
	}

	public String getServiceAppName() {
		return serviceAppName;
	}

	public String getServiceVersion() {
		return serviceVersion;
	}

	public Long getTimeout() {
		return timeout;
	}

	public Long getReadTimeout() {
		return readTimeout;
	}
}
